package com.ymatou.iapi.productmanager.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

//获取买手物流权限
public class OrderdeliveryCall extends YmatouBaseCall {
    private static String opurl ="api/Express/GetAvailableDeliveryMethod";

    public OrderdeliveryCall() {
        super(EnvSetup.getSystemUrl("orderdelivery"),opurl,"POST","JSON");
    }

    @Override
    public void addDefHeader() {
        client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
        client.addHeader("Content-Type", "application/json; charset=UTF-8");
    }
}
